<%--
  Created by IntelliJ IDEA.
  User: Alex
  Date: 4/26/11
  Time: 11:07 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<div class="summary">
    <h3>${movie.title}</h3>
    <img class="moviePic" src="${img}"/>
    <table>
        <tr>
            <td><strong>Your Rating:</strong></td> <td><g:render template="/templates/ratingwidget" model="${[id:movie.id, rating:rating.rating]}"/></td>
        </tr>
        <tr>
            <td><strong>Number of Ratings:</strong></td> <td>${movie.retrieveNumberRatings()}</td>
        </tr>
    </table>
</div>